package com.bdqn.Di3Zhan;

import com.bdqn.Di3Zhan.entity.News;
import com.bdqn.Di3Zhan.entity.NewsDao;
import com.bdqn.Di3Zhan.entity.NewsService;

public class NewsServiceImpl implements NewsService {

    private NewsDao dao;

    public void setDao(NewsDao dao){
        this.dao = dao;
    }
    @Override
    public void save(News news) {
        dao.save(news);
    }
}
